C# milisecond to h m s

97

C# milisecond to h m s -

int ms = 123456;
TimeSpan ts = TimeSpan.FromMilliseconds(ms);
Console.WriteLine(ts.ToString(@"hh\:mm\:ss"));

Comments

Submit
0 Comments